﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EmailTemplet.aspx.cs"  MasterPageFile="~/ProductManager/ProductManage.Master" Inherits="GoShopping.Web.SuperManager.EmailTemplet" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="frr" %>
<asp:Content ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
        <ContentTemplate>
            <table border="0" cellpadding="0" cellspacing="0" width="800px">
                <tr>
                    <td colspan="2"><h3>邮件模板配置</h3></td>
                </tr>
                <tr>
                    <td align="right"><asp:Label ID="lblType" runat="server" Text="邮件类型：" /></td>
                    <td align="left"><asp:DropDownList ID="ddlEmailType" runat="server" ></asp:DropDownList></td>
                </tr>
                <tr>
                    <td align="right"><asp:Label ID="lbltile" runat="server" Text="邮件标题：" /></td>
                    <td align="left"><asp:TextBox ID="txtTile" runat="server"  />
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                            ControlToValidate="txtTile" ErrorMessage="RequiredFieldValidator">标题不能为空！</asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="right"><asp:Label ID="lblisUs" runat="server" Text="是否启用：" /></td>
                    <td align="left"><asp:CheckBox ID="CBIsUs" runat="server" /></td>
                </tr>
                <tr>
                    <td align="right"><asp:Label ID="lbltempl" runat="server" Text="邮件模板：" /></td>
                    <td align="left">
                       <frr:FreeTextBox ID="FreeTextBox1" runat="server" AllowHtmlMode="False" AssemblyResourceHandlerPath=""
                       AutoConfigure="" AutoGenerateToolbarsFromString="True" AutoHideToolbar="True"
                            AutoParseStyles="True" BackColor="158, 190, 245" BaseUrl="" BreakMode="Paragraph"
                            ButtonDownImage="False" ButtonFileExtention="gif" ButtonFolder="Images" ButtonHeight="20"
                            ButtonImagesLocation="InternalResource" ButtonOverImage="False" ButtonPath=""
                            ButtonSet="Office2003" ButtonWidth="21" ClientSideTextChanged="" ConvertHtmlSymbolsToHtmlCodes="False"
                            DesignModeBodyTagCssClass="" DesignModeCss="" DisableIEBackButton="False" DownLevelCols="50"
                            DownLevelMessage="" DownLevelMode="TextArea" DownLevelRows="10" EditorBorderColorDark="128, 128, 128"
                            EditorBorderColorLight="128, 128, 128" EnableHtmlMode="True" EnableSsl="False"
                            EnableToolbars="True" Focus="False" FormatHtmlTagsToXhtml="True" GutterBackColor="129, 169, 226"
                            GutterBorderColorDark="128, 128, 128" GutterBorderColorLight="255, 255, 255"
                            Height="350px" HelperFilesParameters="" HelperFilesPath="" HtmlModeCss="" HtmlModeDefaultsToMonoSpaceFont="True"
                            ImageGalleryPath="~/images/" ImageGalleryUrl="ftb.imagegallery.aspx?rif={0}&cif={0}"
                            InstallationErrorMessage="InlineMessage" JavaScriptLocation="InternalResource"
                            Language="en-US" PasteMode="Default" ReadOnly="False" RemoveScriptNameFromBookmarks="True"
                            RemoveServerNameFromUrls="True" RenderMode="NotSet" ScriptMode="External" ShowTagPath="False"
                            SslUrl="/." StartMode="DesignMode" StripAllScripting="False" SupportFolder="/aspnet_client/FreeTextBox/"
                            TabIndex="-1" TabMode="InsertSpaces"  TextDirection="LeftToRight"
                            ToolbarBackColor="Transparent" ToolbarBackgroundImage="True" ToolbarImagesLocation="InternalResource"
                            ToolbarLayout="ParagraphMenu,FontFacesMenu,FontSizesMenu,FontForeColorsMenu|Bold,Italic,Underline,Strikethrough;Superscript,Subscript,RemoveFormat|JustifyLeft,JustifyRight,JustifyCenter,JustifyFull;BulletedList,NumberedList,Indent,Outdent;CreateLink,Unlink,InsertImage,InsertRule|Cut,Copy,Paste;Undo,Redo,Print"
                            ToolbarStyleConfiguration="NotSet" UpdateToolbar="True" UseToolbarBackGroundImage="True"
                            Width="600px" >
                       
                       </frr:FreeTextBox>
                    </td>
                </tr>
                <tr>
                    <td align="right"><asp:Label ID="lblDesc" runat="server" Text="说   明：" /></td>
                    <td align="left"><asp:TextBox ID="txtDesc" runat="server" /></td>
                </tr>
                <tr>
                    <td></td>
                    <td align="left"><asp:Button ID="btnUpdate" runat="server" Text="更  新"  onclick="btnUpdate_Click" />
                            <asp:Button ID="btnReturn" runat="server" Text="返  回"  Visible="false" 
                            onclick="btnReturn_Click"/>
                    </td>
                </tr>
            </table>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>